{extend name="member/common/shop_layout" /}

{block name="content"}

<div id="member_center_box" class="ncm-index-container">
</div>
<script type="text/javascript">
    $(function(){
        var INFO_TYPE = ['member_info','order_info','goods_info','sns_info'];
        function _ajax_load(type) {
            var load_type = 'ajax_load_' + type;
            $.ajax({
//                url: '/member/Shop/ajax_load_'+type,
                url: load_type,
                success: function(html){
                    INFO_TYPE.shift();
                    if (INFO_TYPE[0]) {
                        _ajax_load(INFO_TYPE[0]);
                    }
                    $('#member_center_box').append(html);
                }
            });
        }
        _ajax_load(INFO_TYPE[0])
    });
</script>

{/block}
